<?php

namespace Dreamcat\PropertyAnalysis;

use Dreamcat\PropertyAnalysis\Pojo\AnalysisResult;
use ReflectionClass;

/**
 * 类的属性分析器接口
 * @author vijay
 */
interface PropertyAnalysisInterface
{
    /**
     * @param bool $analysisSetter 是否分析 setter
     */
    public function setAnalysisSetter(bool $analysisSetter): void;

    /**
     * @param ReflectionClass $reflectionClass 要分析的类的反射
     * @return AnalysisResult 分析结果
     */
    public function analysis(ReflectionClass $reflectionClass): AnalysisResult;
}


# end of file
